import Vue from 'vue'
import Vuex from 'vuex'
import exam from './exam'
import smy from './smy'
// import VuexPersistence from 'vuex-persist'

Vue.use(Vuex)
// const vuexLocal = new VuexPersistence({
//   storage: window.sessionStorage
// })

export default new Vuex.Store({
  modules: {
    exam,
    smy
  }
})
